package com.earogya.springsecurity.security;

import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * 
 * Interface used to add the users to user groups
 * 
 * @author Ureka
 *
 */
public interface AddUsersToUserGroupsInterface extends UserDetailsService {

	/**
	 * 
	 * Add users to user groups
	 * 
	 * @param username
	 * @param userGroup
	 * @return
	 */
	Boolean addUsersToUserGroups(String username,int userGroup);

}